home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Night Owl 9
/
Night Owl CD-ROM (NOPV9) (Night Owl Publisher) (1993).ISO
/
011a
/
cs_wtr01.zip
/
WEATHER.MAC
Wrap
Text File
|
1993-02-05
|
3KB
|
107 lines
*---* Call the National Weather Service.
*---* This macro saves to a disk file and to the printer.
...Please Stand by...
just received
{:n|} {send ~n|} {retu}
{:wtr} {sete alm}
{exec-N xeq prstring 018 027 077 027 120 000 027 108 008 027 048}
{exec-N f:}
{exec-N cd \futil}
{exec-N yow >prn}
{exec-N xeq prstring 010 010 010}
{exec-N d:}
{paus 2}
{send |}
{paus 2}
{setl 60,abt,5,|}
{send |}
{look er Case}
{send y|}
{setl 120,abt,15,|}
{:ec0} {push}
{golo n|,N,NS?}
{look FIRST} {pops}
! {send Chuck|}
{look Last}
! {send Seyboldt|}
{look echo)?}
{send %_pas|}
{look Function}
{send P|}
{setl 15,abt,5,|}
{look PUBLIC <}
{send 1|}
{look FORECAST}
{clea}
{capt y,%dldir%\report.wtr}
{prin y}
{exec-N echo ******************************* >> %dldir%\report.wtr}
{exec-N echo WEATHER FOR %_dat %_tim >> %dldir%\report.wtr}
{exec-N echo ******************************* >> %dldir%\report.wtr}
{setl 120,abt,5,|}
look TIDES
10/22/92 {look to continue ?}
{clea}
{capt n}
{prin n}
{paus 4}
{send |}
{setl 10,abt,5,|}
{look PUBLIC <}
{send 7|}
{look SUMMARY}
{clea}
{capt y,%dldir%\report.wtr} {printlog y}
{exec-N echo ======---------------------====== >> %dldir%\report.wtr}
{exec-N echo STATE WEATHER SUMMARY >> %dldir%\report.wtr}
{exec-N echo ======---------------------====== >> %dldir%\report.wtr}
{setl 120,abt,5,|}
{look Enter to continue}
{clea}
{capt n,%savedir\%_mon%%_day.cap}
{prin n}
{paus 2}
{send |}
{setl 20,abt,5,|}
{look PUBLIC <}
{send |}
{goto ewr}
{look FUNCTION}
{send A|}
{look Almanac <}
{Send 8|}
{look SNOW...}
{look .^m}
{clea}
{capt y,%dldir%\almanac.wtr}
{prin y}
{exec-N echo ************************************* >> %dldir%\almanac.wtr}
{exec-N echo ALMANAC ENTRY FOR %_dat %_tim >> %dldir%\almanac.wtr}
{exec-N echo ************************************* >> %dldir%\almanac.wtr}
{setl 120,abt,10,|}
{look continue ?}
{clea}
{capt n,savedir\%_mon%%_day.cap}
{prin n}
{send |}
{setl 10,abt,5,|}
{look ALMANAC <}
{send |}
{:ewr} {look Function}
{send G|}
{look Comment}
{send N|}
{look NO CARRIER}
{hang y}
{exec-N xeq prstring 012}
{macl %_mac,aln}
{:abt} {send |~~~|~~~~~~~G|~~~~~N|}
{clea}
{capt n,savedir\%_mon%%_day.cap}
{prin n}
{hang y}
{:alm} {macl %_mac,aln}